let mutations = {

    addnum(state) {
        console.log(state.num);
        state.num++;
    },
    addnumAge(state, payload) {
        console.log(payload);
        state.num += payload;
    },
    addnameAge(state, payload) {
        console.log(payload);
        state.num += payload;
    }
}
export default mutations